const express = require('express');
const router = express.Router();
const expressJoi = require('@escook/express-joi');
const { add_meeting_schema, get_meetings_schema } = require('../schema/meeting');
const meeting_handle = require('../router_handler/meeting');

router.post('/add', expressJoi(add_meeting_schema), meeting_handle.addMeeting);
router.get('/list', expressJoi(get_meetings_schema), meeting_handle.getMeetings);

module.exports = router;